﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001315 RID: 4885
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeActivityExpeditionRewardScRsp : IMessage<TakeActivityExpeditionRewardScRsp>, IMessage, IEquatable<TakeActivityExpeditionRewardScRsp>, IDeepCloneable<TakeActivityExpeditionRewardScRsp>, IBufferMessage
	{
		// Token: 0x17003DA4 RID: 15780
		// (get) Token: 0x0600DAAD RID: 55981 RVA: 0x00249F53 File Offset: 0x00248153
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeActivityExpeditionRewardScRsp> Parser
		{
			get
			{
				return TakeActivityExpeditionRewardScRsp._parser;
			}
		}

		// Token: 0x17003DA5 RID: 15781
		// (get) Token: 0x0600DAAE RID: 55982 RVA: 0x00249F5A File Offset: 0x0024815A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeActivityExpeditionRewardScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003DA6 RID: 15782
		// (get) Token: 0x0600DAAF RID: 55983 RVA: 0x00249F6C File Offset: 0x0024816C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeActivityExpeditionRewardScRsp.Descriptor;
			}
		}

		// Token: 0x0600DAB0 RID: 55984 RVA: 0x00249F73 File Offset: 0x00248173
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeActivityExpeditionRewardScRsp()
		{
		}

		// Token: 0x0600DAB1 RID: 55985 RVA: 0x00249F7C File Offset: 0x0024817C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeActivityExpeditionRewardScRsp(TakeActivityExpeditionRewardScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.hAJEJEFLKJD_ = ((other.hAJEJEFLKJD_ != null) ? other.hAJEJEFLKJD_.Clone() : null);
			this.reward_ = ((other.reward_ != null) ? other.reward_.Clone() : null);
			this.iDJNPOONENE_ = other.iDJNPOONENE_;
			this.scoreId_ = other.scoreId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DAB2 RID: 55986 RVA: 0x00249FFC File Offset: 0x002481FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeActivityExpeditionRewardScRsp Clone()
		{
			return new TakeActivityExpeditionRewardScRsp(this);
		}

		// Token: 0x17003DA7 RID: 15783
		// (get) Token: 0x0600DAB3 RID: 55987 RVA: 0x0024A004 File Offset: 0x00248204
		// (set) Token: 0x0600DAB4 RID: 55988 RVA: 0x0024A00C File Offset: 0x0024820C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003DA8 RID: 15784
		// (get) Token: 0x0600DAB5 RID: 55989 RVA: 0x0024A015 File Offset: 0x00248215
		// (set) Token: 0x0600DAB6 RID: 55990 RVA: 0x0024A01D File Offset: 0x0024821D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList HAJEJEFLKJD
		{
			get
			{
				return this.hAJEJEFLKJD_;
			}
			set
			{
				this.hAJEJEFLKJD_ = value;
			}
		}

		// Token: 0x17003DA9 RID: 15785
		// (get) Token: 0x0600DAB7 RID: 55991 RVA: 0x0024A026 File Offset: 0x00248226
		// (set) Token: 0x0600DAB8 RID: 55992 RVA: 0x0024A02E File Offset: 0x0024822E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList Reward
		{
			get
			{
				return this.reward_;
			}
			set
			{
				this.reward_ = value;
			}
		}

		// Token: 0x17003DAA RID: 15786
		// (get) Token: 0x0600DAB9 RID: 55993 RVA: 0x0024A037 File Offset: 0x00248237
		// (set) Token: 0x0600DABA RID: 55994 RVA: 0x0024A03F File Offset: 0x0024823F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IDJNPOONENE
		{
			get
			{
				return this.iDJNPOONENE_;
			}
			set
			{
				this.iDJNPOONENE_ = value;
			}
		}

		// Token: 0x17003DAB RID: 15787
		// (get) Token: 0x0600DABB RID: 55995 RVA: 0x0024A048 File Offset: 0x00248248
		// (set) Token: 0x0600DABC RID: 55996 RVA: 0x0024A050 File Offset: 0x00248250
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScoreId
		{
			get
			{
				return this.scoreId_;
			}
			set
			{
				this.scoreId_ = value;
			}
		}

		// Token: 0x0600DABD RID: 55997 RVA: 0x0024A059 File Offset: 0x00248259
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeActivityExpeditionRewardScRsp);
		}

		// Token: 0x0600DABE RID: 55998 RVA: 0x0024A068 File Offset: 0x00248268
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeActivityExpeditionRewardScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.HAJEJEFLKJD, other.HAJEJEFLKJD) && object.Equals(this.Reward, other.Reward) && this.IDJNPOONENE == other.IDJNPOONENE && this.ScoreId == other.ScoreId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DABF RID: 55999 RVA: 0x0024A0EC File Offset: 0x002482EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.hAJEJEFLKJD_ != null)
			{
				num ^= this.HAJEJEFLKJD.GetHashCode();
			}
			if (this.reward_ != null)
			{
				num ^= this.Reward.GetHashCode();
			}
			if (this.IDJNPOONENE != 0U)
			{
				num ^= this.IDJNPOONENE.GetHashCode();
			}
			if (this.ScoreId != 0U)
			{
				num ^= this.ScoreId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DAC0 RID: 56000 RVA: 0x0024A189 File Offset: 0x00248389
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DAC1 RID: 56001 RVA: 0x0024A191 File Offset: 0x00248391
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DAC2 RID: 56002 RVA: 0x0024A19C File Offset: 0x0024839C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IDJNPOONENE != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.IDJNPOONENE);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this.reward_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.Reward);
			}
			if (this.ScoreId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.ScoreId);
			}
			if (this.hAJEJEFLKJD_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.HAJEJEFLKJD);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DAC3 RID: 56003 RVA: 0x0024A24C File Offset: 0x0024844C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.hAJEJEFLKJD_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.HAJEJEFLKJD);
			}
			if (this.reward_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Reward);
			}
			if (this.IDJNPOONENE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IDJNPOONENE);
			}
			if (this.ScoreId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScoreId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DAC4 RID: 56004 RVA: 0x0024A2EC File Offset: 0x002484EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeActivityExpeditionRewardScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.hAJEJEFLKJD_ != null)
			{
				if (this.hAJEJEFLKJD_ == null)
				{
					this.HAJEJEFLKJD = new ItemList();
				}
				this.HAJEJEFLKJD.MergeFrom(other.HAJEJEFLKJD);
			}
			if (other.reward_ != null)
			{
				if (this.reward_ == null)
				{
					this.Reward = new ItemList();
				}
				this.Reward.MergeFrom(other.Reward);
			}
			if (other.IDJNPOONENE != 0U)
			{
				this.IDJNPOONENE = other.IDJNPOONENE;
			}
			if (other.ScoreId != 0U)
			{
				this.ScoreId = other.ScoreId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DAC5 RID: 56005 RVA: 0x0024A3A8 File Offset: 0x002485A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DAC6 RID: 56006 RVA: 0x0024A3B4 File Offset: 0x002485B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 24U)
					{
						this.IDJNPOONENE = input.ReadUInt32();
						continue;
					}
					if (num == 40U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 74U)
					{
						if (this.reward_ == null)
						{
							this.Reward = new ItemList();
						}
						input.ReadMessage(this.Reward);
						continue;
					}
					if (num == 96U)
					{
						this.ScoreId = input.ReadUInt32();
						continue;
					}
					if (num == 114U)
					{
						if (this.hAJEJEFLKJD_ == null)
						{
							this.HAJEJEFLKJD = new ItemList();
						}
						input.ReadMessage(this.HAJEJEFLKJD);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040056ED RID: 22253
		private static readonly MessageParser<TakeActivityExpeditionRewardScRsp> _parser = new MessageParser<TakeActivityExpeditionRewardScRsp>(() => new TakeActivityExpeditionRewardScRsp());

		// Token: 0x040056EE RID: 22254
		private UnknownFieldSet _unknownFields;

		// Token: 0x040056EF RID: 22255
		public const int RetcodeFieldNumber = 5;

		// Token: 0x040056F0 RID: 22256
		private uint retcode_;

		// Token: 0x040056F1 RID: 22257
		public const int HAJEJEFLKJDFieldNumber = 14;

		// Token: 0x040056F2 RID: 22258
		private ItemList hAJEJEFLKJD_;

		// Token: 0x040056F3 RID: 22259
		public const int RewardFieldNumber = 9;

		// Token: 0x040056F4 RID: 22260
		private ItemList reward_;

		// Token: 0x040056F5 RID: 22261
		public const int IDJNPOONENEFieldNumber = 3;

		// Token: 0x040056F6 RID: 22262
		private uint iDJNPOONENE_;

		// Token: 0x040056F7 RID: 22263
		public const int ScoreIdFieldNumber = 12;

		// Token: 0x040056F8 RID: 22264
		private uint scoreId_;
	}
}
